
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module python_pl_loop</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>python_pl_loop</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/jmatthews/Documents/Python/py_progs/python_pl_loop.py">/Users/jmatthews/Documents/Python/py_progs/python_pl_loop.py</a></font></td></tr></table>
    <p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UNLV<br>
&nbsp;<br>
Synopsis:&nbsp;&nbsp;<br>
&nbsp;<br>
This&nbsp;routine&nbsp;carries&nbsp;out&nbsp;a&nbsp;series&nbsp;of&nbsp;thin&nbsp;shell&nbsp;python&nbsp;simulations.<br>
The&nbsp;wind&nbsp;mdot&nbsp;is&nbsp;set&nbsp;to&nbsp;produce&nbsp;a&nbsp;hydrogen&nbsp;density&nbsp;of&nbsp;1e7&nbsp;-&nbsp;to&nbsp;change<br>
this&nbsp;one&nbsp;had&nbsp;to&nbsp;change&nbsp;the&nbsp;wind_mdot&nbsp;parameter.&nbsp;The&nbsp;loop&nbsp;is&nbsp;carried&nbsp;out<br>
over&nbsp;the&nbsp;2-10kev&nbsp;luminosity&nbsp;of&nbsp;the&nbsp;central&nbsp;source.&nbsp;A&nbsp;luminosity&nbsp;of<br>
1e21&nbsp;give&nbsp;a&nbsp;mainly&nbsp;neutral&nbsp;plasma&nbsp;(IP=5e-10)&nbsp;whilst&nbsp;1e37&nbsp;is&nbsp;almost&nbsp;<br>
totally&nbsp;ionized&nbsp;(IP=5e6).&nbsp;The&nbsp;code&nbsp;strips&nbsp;out&nbsp;ion&nbsp;densities&nbsp;and&nbsp;constructs&nbsp;<br>
data&nbsp;files&nbsp;with&nbsp;the&nbsp;cloudy&nbsp;type&nbsp;ionization&nbsp;parameter&nbsp;as&nbsp;the&nbsp;first&nbsp;<br>
line.<br>
If&nbsp;one&nbsp;wants&nbsp;a&nbsp;constant&nbsp;temperature&nbsp;file,&nbsp;then&nbsp;one&nbsp;needs&nbsp;to&nbsp;hack&nbsp;python<br>
to&nbsp;stop&nbsp;the&nbsp;temperature&nbsp;changing<br>
We&nbsp;currently&nbsp;write&nbsp;out&nbsp;H,He,C,N,O&nbsp;and&nbsp;Fe.&nbsp;We&nbsp;also&nbsp;output&nbsp;heating&nbsp;and&nbsp;cooling<br>
mechanisms.<br>
&nbsp;<br>
&nbsp;<br>
Command&nbsp;line&nbsp;usage&nbsp;(if&nbsp;any):<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;usage:&nbsp;python_pl_loop&nbsp;*optional&nbsp;file&nbsp;suffix*<br>
&nbsp;<br>
Description:&nbsp;&nbsp;<br>
&nbsp;<br>
Primary&nbsp;routines:<br>
&nbsp;<br>
Notes:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
History:<br>
&nbsp;<br>
081214&nbsp;nsh&nbsp;Commented</tt></p>

</body></html>